<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <table border="1px" width="1200px">
        <tr>
            <th>编号</th>
            <th>货物名</th>
            <th>发货时间</th>
            <th>发货地址</th>
            <th>收货时间</th>
            <th>收货地址</th>
            <th>数量</th>
        </tr>
        <tr th:each="logistics : ${page.records}">
            <td th:text="${logistics.logisticsId}"></td>
            <td th:text="${logistics.goods.goodsName}"></td>
            <td th:text="${logistics.logisticsStart}"></td>
            <td th:text="|${logistics.startAddress.addressProvince}${logistics.startAddress.addressCity}${logistics.startAddress.addressRegion}|"></td>
            <td th:text="${logistics.logisticsEnd}"></td>
            <td th:text="|${logistics.endAddress.addressProvince}${logistics.endAddress.addressCity}${logistics.endAddress.addressRegion}|"></td>
            <td th:text="${logistics.logisticsNumber}"></td>
        </tr>
    </table>
    <a th:each="i : ${#numbers.sequence(1,page.pages)}" th:href="@{/logistics-page(current=${i})}" th:text="${i}"></a>
</body>
</html>
